
// Boost Includes ==============================================================
#include <boost/python.hpp>
#include <boost/cstdint.hpp>

// Includes ====================================================================
#include <OpenSG/OSGAttachmentContainer.h>
#include <OsgPtrHelpers.h>

// Using =======================================================================
using namespace boost::python;

// Declarations ================================================================
namespace  {

BOOST_PYTHON_MEMBER_FUNCTION_OVERLOADS(osg_AttachmentContainer_addAttachment_overloads_1_2, addAttachment, 1, 2)

BOOST_PYTHON_MEMBER_FUNCTION_OVERLOADS(osg_AttachmentContainer_subAttachment_overloads_1_2, subAttachment, 1, 2)

BOOST_PYTHON_MEMBER_FUNCTION_OVERLOADS(osg_AttachmentContainer_findAttachment_overloads_1_2, findAttachment, 1, 2)

BOOST_PYTHON_MEMBER_FUNCTION_OVERLOADS(osg_AttachmentContainer_dump_overloads_0_2, dump, 0, 2)


}// namespace


// Module ======================================================================
void Export_src_pyste_gen_AttachmentContainer()
{
    scope* osg_AttachmentContainer_scope = new scope(
    class_< osg::AttachmentContainer, bases< osg::FieldContainer > , boost::noncopyable, osg::AttachmentContainerRefPtr >("AttachmentContainer", no_init)
//        .def_readonly("AttachmentsFieldMask", &osg::AttachmentContainer::AttachmentsFieldMask)
        .def("getType", (osg::FieldContainerType& (osg::AttachmentContainer::*)() )&osg::AttachmentContainer::getType, return_internal_reference< 1 >())
//        .def("getType", (const osg::FieldContainerType& (osg::AttachmentContainer::*)() const)&osg::AttachmentContainer::getType, return_internal_reference< 1 >())
        .def("getClassType", &osg::AttachmentContainer::getClassType, return_internal_reference< 1 >())
        .def("getClassTypeId", &osg::AttachmentContainer::getClassTypeId)
        .def("getContainerSize", &osg::AttachmentContainer::getContainerSize)
        .def("addAttachment", &osg::AttachmentContainer::addAttachment, osg_AttachmentContainer_addAttachment_overloads_1_2())
        .def("subAttachment", &osg::AttachmentContainer::subAttachment, osg_AttachmentContainer_subAttachment_overloads_1_2())
        .def("findAttachment", (osg::AttachmentPtr (osg::AttachmentContainer::*)(osg::UInt32, osg::UInt16) )&osg::AttachmentContainer::findAttachment, osg_AttachmentContainer_findAttachment_overloads_1_2())
        .def("findAttachment", (osg::AttachmentPtr (osg::AttachmentContainer::*)(const osg::FieldContainerType&, osg::UInt16) )&osg::AttachmentContainer::findAttachment, osg_AttachmentContainer_findAttachment_overloads_1_2())
        .def("getSFAttachments", &osg::AttachmentContainer::getSFAttachments, return_internal_reference< 1 >())
        .def("changed", &osg::AttachmentContainer::changed)
        .def("getBinSize", &osg::AttachmentContainer::getBinSize)
        .def("copyToBin", &osg::AttachmentContainer::copyToBin)
        .def("copyFromBin", &osg::AttachmentContainer::copyFromBin)
        .def("dump", &osg::AttachmentContainer::dump, osg_AttachmentContainer_dump_overloads_0_2())
        .staticmethod("getClassType")
        .staticmethod("getClassTypeId")
    );

    scope().attr("NextFieldId") = (int)osg::AttachmentContainer::NextFieldId;
    scope().attr("AttachmentsFieldId") = (int)osg::AttachmentContainer::AttachmentsFieldId;

    delete osg_AttachmentContainer_scope;


    register_ptr_to_python<osg::AttachmentContainerPtr>();
    implicitly_convertible<osg::AttachmentContainerRefPtr, osg::AttachmentContainerPtr>();
    implicitly_convertible<osg::AttachmentContainerPtr, osg::FieldContainerPtr>();

    def("RefPtr", &pyopensg::ToRefPtr<osg::AttachmentContainerPtr>);
    def("FCPtr", &pyopensg::ToFcPtr<osg::AttachmentContainerPtr>);
}

